/*
 ============================================================================
 Name		: RtpBtExmAppUi.h
 Author	  : william
 Copyright   : free software
 Description : Declares UI class for application.
 ============================================================================
 */

#ifndef __RTPBTEXMAPPUI_h__
#define __RTPBTEXMAPPUI_h__

// INCLUDES
#include <aknappui.h>

// FORWARD DECLARATIONS
class CRtpBtExmAppView;

// CLASS DECLARATION
/**
 * CRtpBtExmAppUi application UI class.
 * Interacts with the user through the UI and request message processing
 * from the handler class
 */
class CRtpBtExmAppUi : public CAknAppUi
    {
public:
    // Constructors and destructor

    /**
     * ConstructL.
     * 2nd phase constructor.
     */
    void ConstructL();

    /**
     * CRtpBtExmAppUi.
     * C++ default constructor. This needs to be public due to
     * the way the framework constructs the AppUi
     */
    CRtpBtExmAppUi();

    /**
     * ~CRtpBtExmAppUi.
     * Virtual Destructor.
     */
    virtual ~CRtpBtExmAppUi();

private:
    // Functions from base classes

    /**
     * From CEikAppUi, HandleCommandL.
     * Takes care of command handling.
     * @param aCommand Command to be handled.
     */
    void HandleCommandL(TInt aCommand);

    /**
     *  HandleStatusPaneSizeChange.
     *  Called by the framework when the application status pane
     *  size is changed.
     */
    void HandleStatusPaneSizeChange();

    /**
     *  From CCoeAppUi, HelpContextL.
     *  Provides help context for the application.
     *  size is changed.
     */
    CArrayFix<TCoeHelpContext>* HelpContextL() const;

private:
    // Data

    /**
     * The application view
     * Owned by CRtpBtExmAppUi
     */
    CRtpBtExmAppView* iAppView;

    };

#endif // __RTPBTEXMAPPUI_h__
// End of File
